package com.xmy.cultivate.service;

import com.xmy.cultivate.entity.ChangeSchool;
import com.baomidou.mybatisplus.extension.service.IService;
import com.xmy.cultivate.entity.ChangeSchoolDetail;
import com.xmy.cultivate.entity.response.ResChangeSchoolReturn;
import org.springframework.transaction.annotation.Transactional;

import java.text.ParseException;

/**
 * <p>
 * 转校 服务类
 * </p>
 *
 * @author hpiggy
 * @since 2024-04-06
 */
public interface IChangeSchoolService extends IService<ChangeSchool> {

    @Transactional
    boolean changeSchoolAction(ChangeSchoolDetail changeSchoolDetail) throws ParseException;

    boolean updateChangeSchoolData(ChangeSchoolDetail changeSchoolDetail, ResChangeSchoolReturn resChangeSchoolReurn) throws ParseException;

    boolean mvOtherCourseDataForTeacher(ChangeSchoolDetail changeSchoolDetail) throws ParseException;
}
